﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<LibraryMusicStore.Album>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Danh sách
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <%Html.RenderAction( "SearchAdvance", "Home"); %>
    
    <h2>Danh sách</h2>
    
    <ul id="album-list"> 
        <% foreach (var album in Model){ %> 
        <li> 
            <a href="<%= Url.Action("Details", "Store", new { id = album.AlbumId }) %>"> 
            <img id="image" alt="<%= album.Title %>" src="<%= album.AlbumArtUrl %>" /> 
            <span><%= album.Title %></span> 
            </br><span class="UnitPrice"><%=album.Price * Convert.ToDecimal(ViewData["vat"])%> $</span> 
            </a> 
        </li> 
        <% } %> 
    </ul>
</asp:Content>

